package mysql

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Account   string `gorm:"type:varchar(50);not null; commit:'账号'"`
	Password  string `gorm:"type:char(32);not null; commit:'密码'"`
	Name      string `gorm:"type:varchar(50);not null; commit:'用户昵称'"`
	Address   string `gorm:"type:varchar(150);not null; commit:'地址'"`
	HeadImage string `gorm:"type:varchar(150);not null; commit:'头像'"`
}
